package com.bruan.d3_transform_stream;

import java.io.*;

public class Test3 {
    public static void main(String[] args) {
        try(
               FileOutputStream fos =new FileOutputStream("file-io-app\\zlive.txt");
               Writer osw = new OutputStreamWriter(fos,"GBK");
               BufferedWriter bw = new BufferedWriter(osw);
                ) {
            bw.write("我是你爹");

        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}
